package com.hyw.cm.common.equipment.dto;

import java.util.Date;

import com.hyw.cm.common.equipment.constant.EquipmentStatus;

/**
 * 通讯终端
 * 
 * @author Hongyu
 */
public class EquipmentDTO {

  /**
   * 设备编号
   */
  private String id;

  /**
   * 厂家
   */
  private String vender;

  /**
   * 品牌
   */
  private String brand;

  /**
   * 硬件版本
   */
  private String hardVersion;

  /**
   * 软件版本
   */
  private String softVersion;

  /**
   * 设备状态
   * <li>添加设备信息时，为Registered,代表已注册
   * <li>当平台收到该设备第一个心跳时，则由Registered转为Activated，代表该设备已经被激活.
   */
  private EquipmentStatus status;

  private Date createdDate;

  private Date lastModifiedDate;

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getVender() {
    return vender;
  }

  public void setVender(String vender) {
    this.vender = vender;
  }

  public String getBrand() {
    return brand;
  }

  public void setBrand(String brand) {
    this.brand = brand;
  }

  public String getHardVersion() {
    return hardVersion;
  }

  public void setHardVersion(String hardVersion) {
    this.hardVersion = hardVersion;
  }

  public String getSoftVersion() {
    return softVersion;
  }

  public void setSoftVersion(String softVersion) {
    this.softVersion = softVersion;
  }

  public EquipmentStatus getStatus() {
    return status;
  }

  public void setStatus(EquipmentStatus status) {
    this.status = status;
  }

  public Date getCreatedDate() {
    return createdDate;
  }

  public void setCreatedDate(Date createdDate) {
    this.createdDate = createdDate;
  }

  public Date getLastModifiedDate() {
    return lastModifiedDate;
  }

  public void setLastModifiedDate(Date lastModifiedDate) {
    this.lastModifiedDate = lastModifiedDate;
  }

}
